.label {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.inputWrapper {
    margin-top: 0.25rem;
    position: relative;

    &:not(:has(.inputIcon)) {
        .input {
            padding: .5rem .75rem .5rem .5rem;
        }
    }
}

.inputIcon {
    position: absolute;
    top: 25%;
    bottom: 0;
    left: 3%;
}

.input {
    display: block;
    width: 100%;
    padding: .5rem .75rem .5rem 2.7rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
    font-size: 1.5rem;
    line-height: normal;

    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-weight: inherit;
    color: inherit;
    margin: 0;

    &:focus {
        outline: none;
        border-color: var(--sea-green);
        box-shadow: 0 0 1px 1px var(--sea-green);
    }

    &:invalid {
        outline: none;
        border-color: var(--crimson-red);
        box-shadow: 0 0 1px 1px var(--crimson-red);
    }

    &[readonly] {
        color: var(--light-gray-darker);
        background-color: var(--light-gray-lighter);
        pointer-events: none;
    }

    &.registration_number {
        text-transform: uppercase;
    }
}


